UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The AIX SSH daemon must be configured to disable user .rhosts files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-91745 AIX7-00-002121 SV-101843r1_rule Medium
Description
Trust .rhost file means a compromise on one host can allow an attacker to move trivially to other hosts.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2020-02-24

Details

Check Text ( C-90899r3_chk )
Check the SSH daemon configuration for allowed ".rhosts" using command:

# grep -i IgnoreRhosts /etc/ssh/sshd_config | grep -v '^#'
IgnoreRhosts yes

If no lines are returned, or the returned "IgnoreRhosts" directive is not set to "yes", this is a finding.
Fix Text (F-97943r1_fix)
Edit "/etc/ssh/sshd_config" and add or update the "IgnoreRhosts " line as:
IgnoreRhosts yes

Save the change and restart ssh daemon:
# stopsrc -s sshd
# startsrc -s sshd